/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.opencourse.modelo;

import com.opencourse.entidades.Contenido;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author jonathan
 */
@Stateless
public class ContenidoFacade extends AbstractFacade<Contenido> {
    @PersistenceContext(unitName = "com.opencourse_openCourse_war_1.0-SNAPSHOTPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public ContenidoFacade() {
        super(Contenido.class);
    }
    
}
